package com.oauth.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 基础响应枚举
 *
 * @author duchao
 */
@Getter
@AllArgsConstructor
public enum BaseResponseEnum implements IResponseEnum {

    /**
     * 成功
     */
    SUCCESS(0, "success"),

    /**
     * 失败
     */
    FAILURE(1, "failure");

    private final Integer code;
    private final String msg;

}
